package com.xyy.saas.payment.cores.param;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@Getter
@Setter
public class Pair implements Serializable {
    private static final long serialVersionUID = 4832999105531908002L;
    String key;
    String value;

    /**
     * 构造对象
     * @param key
     * @param value
     * @return
     */
    public static Pair build(String key, String value) {
        Pair pair = new Pair();
        pair.setKey(key);
        pair.setValue(value);
        return pair;
    }
}
